.profile-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 40rpx;

  .loading-container,
  .login-prompt {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400rpx;
    font-size: 32rpx;
    color: #666;
  }

  // 用户信息区域
  .user-section {
    background-color: #fff;
    padding: 60rpx 30rpx 40rpx;
    margin-bottom: 20rpx;

    .user-info {
      display: flex;
      align-items: center;
      gap: 30rpx;

      .user-avatar {
        --nutui-avatar-size: 120rpx;
        border: 4rpx solid #f0f0f0;
      }

      .user-details {
        flex: 1;

        .user-name {
          display: block;
          font-size: 40rpx;
          font-weight: bold;
          color: #333;
          margin-bottom: 12rpx;
        }

        .user-level {
          display: block;
          font-size: 28rpx;
          color: #666;
        }
      }
    }
  }

  // 会员信息区域
  .member-section {
    background-color: #fff;
    padding: 30rpx;
    margin-bottom: 20rpx;

    .section-title {
      display: block;
      font-size: 32rpx;
      font-weight: bold;
      color: #333;
      margin-bottom: 24rpx;
    }

    .member-info {
      .member-item {
        display: flex;
        align-items: center;
        margin-bottom: 16rpx;

        &:last-child {
          margin-bottom: 0;
        }

        .member-label {
          font-size: 28rpx;
          color: #666;
          width: 160rpx;
        }

        .member-value {
          font-size: 28rpx;
          color: #333;
          flex: 1;
        }
      }
    }
  }

  // 我的服务区域
  .services-section {
    background-color: #fff;
    padding: 30rpx;
    margin-bottom: 20rpx;

    .section-title {
      display: block;
      font-size: 32rpx;
      font-weight: bold;
      color: #333;
      margin-bottom: 24rpx;
    }

    .services-group {
      --nutui-cell-group-border-radius: 0;
      --nutui-cell-group-background-color: transparent;

      .service-item {
        --nutui-cell-padding: 24rpx 0;
        --nutui-cell-font-size: 30rpx;
        --nutui-cell-line-height: 1.4;
        border-bottom: 1px solid #f5f5f5;

        &:last-child {
          border-bottom: none;
        }

        .menu-icon {
          width: 48rpx;
          height: 48rpx;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 12rpx;
          font-size: 32rpx;
          margin-right: 24rpx;

          &.orders-icon {
            background-color: #e6f3ff;
          }

          &.coupons-icon {
            background-color: #e6f7e6;
          }

          &.contact-icon {
            background-color: #fff7e6;
          }

          &.settings-icon {
            background-color: #f5f5f5;
          }
        }
      }
    }
  }

  // 关于区域
  .about-section {
    background-color: #fff;
    padding: 30rpx;

    .section-title {
      display: block;
      font-size: 32rpx;
      font-weight: bold;
      color: #333;
      margin-bottom: 24rpx;
    }

    .about-info {
      .app-version {
        font-size: 28rpx;
        color: #666;
      }
    }
  }
}

// 响应式适配
@media screen and (max-width: 375px) {
  .profile-page {
    .user-section {
      padding: 40rpx 20rpx 30rpx;

      .user-info {
        gap: 20rpx;

        .user-avatar {
          --nutui-avatar-size: 100rpx;
        }

        .user-details {
          .user-name {
            font-size: 36rpx;
          }

          .user-level {
            font-size: 26rpx;
          }
        }
      }
    }

    .member-section,
    .services-section,
    .about-section {
      padding: 24rpx 20rpx;
      margin-left: 0;
      margin-right: 0;

      .section-title {
        font-size: 30rpx;
      }
    }

    .member-section {
      .member-info {
        .member-item {
          .member-label {
            width: 140rpx;
            font-size: 26rpx;
          }

          .member-value {
            font-size: 26rpx;
          }
        }
      }
    }

    .services-section {
      .services-group {
        .service-item {
          --nutui-cell-font-size: 28rpx;

          .menu-icon {
            width: 40rpx;
            height: 40rpx;
            font-size: 28rpx;
            margin-right: 20rpx;
          }
        }
      }
    }

    .about-section {
      .about-info {
        .app-version {
          font-size: 26rpx;
        }
      }
    }
  }
}